﻿<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
  <ribbon>
    <contextualTabs>
      <tabSet idMso="TabSetAttachments">
        <tab id="customTabAttachment" label="Team" >
          <group label="Team Portal" id="TeamAttachmentGroup">
            <button id="sendAttachmentContextualTabReadMailButton" size="large" label="Upload Attachments" onAction="SendAttachmentContextualTabReadMailButtonAction" getImage="GetImageSendAttachmentsFeature" />
          </group>
        </tab>
      </tabSet>
    </contextualTabs>
    <tabs>
      <tab id="readMailTab" label="Team">
        <group id="workItemGroup" label="Work Items">
          <toggleButton id="trackInWorkItemReadMailButton" getPressed="TrackInWorkItemReadMailButtonGetPressed" size="large" getImage="GetImageTrackInWorkItemFeature" label="Track in Work Item" onAction="TrackInWorkItemReadMailButtonAction"/>
          <separator id="workItemSeparator"/>
          <button id="relatedWorkItemReadMailButton" getEnabled="RelatedWorkItemReadMailButtonGetEnabled" size="large" getImage="GetImageRelatedWorkItemFeature" label="Related Work Item" onAction="RelatedWorkItemReadMailButtonAction" />
        </group>
        <group id="teamPortalGroup" label="Team Portal">
          <button id="sendAttachmentsReadMailButton" size="large" getEnabled="SendAttachmentsReadMailButtonGetEnabled" getImage="GetImageSendAttachmentsFeature" label="Upload Attachments" onAction="SendAttachmentsReadMailButtonAction" />
        </group>
      </tab>
    </tabs>
  </ribbon>
  <contextMenus>
    <contextMenu idMso="ContextMenuAttachments">
      <menu id="teamMenuReadMail" label="Team">
        <button id="sendAttachmentsReadMailMenuItem" getImage="GetImageSendAttachmentsFeature" label="Upload Attachments" onAction="SendAttachmentsReadMailMenuItemAction" />
      </menu>
    </contextMenu>
  </contextMenus>
</customUI>

